package net.sx.minemodule.mvp.item;

import com.kedll.library.mvp.BaseItem;

import net.sx.minemodule.R;
import net.sx.minemodule.mvp.bean.GoodsExchangeModel;

/**
 * add shibo.zheng
 * 19/06/13
 * 商品兑换item
 */
public class GoodsExchangeItem extends BaseItem<GoodsExchangeModel> {

    public GoodsExchangeItem(GoodsExchangeModel data) {
        super(data);
    }

    @Override
    public int getLayout() {
        return R.layout.mine_goods_exchange_item;
    }

    public String getGoodsImg(){
        return getData().getGoodsImg();
    }

    public String getGoodsName(){
        return getData().getGoodsName();
    }

    public String getDepleteNum(){
        return getData().getDepleteNum();
    }

    public String getExChange(){
        return getData().getExChange();
    }
}
